package src.ee.ioc.smaug.world.evolution;

import java.io.File;
import java.util.logging.Level;
import src.ee.ioc.smaug.world.evolution.Parameter;


/**
 * Setting parameters for enviroment description
 * 
 * @author Margarita Spichakova
 *
 */
public class EnvDescription {
    /**
     * Mutation probability default value=0.04
     */
    public static double mutationProb=0.04; 
    
    public static final int RUN_ONCE=0;
    public static final int RUN_STAT=1;
    public static int action=RUN_ONCE;
    public static int runTimes=10;
    /**
     * Type of fitness function
     */
    public static Parameter FFtype= Parameter.HAMMING_DISTANCE;
    /**
     * Type of the mutation
     */
    public static Parameter MUTtype=Parameter.MUTATION;
    /**
     * Type of the crossover
     */
    public static Parameter CROSStype=Parameter.ONE_POINT_CROSSOVER;
    /**
     * Type of the selection
     */
    public static Parameter SELtype= Parameter.ROULETTE_WHEEL_SELECTION;
    
    /**
     * File for storing data
     */
    public static String dataFilename="trainingData\\data.txt";
    public static File dataFile=new File(dataFilename);
    /**
     * File for storing results
     */
    public static String Resfilename="results\\index.html";
    
    public static File resFile=new File(Resfilename);
    
    /**
     * File for storing trace
     */
    public static String traceFileName="results\\trace.html";
    
    public static File traceFile=new File(traceFileName);
    
    /**
     * Output filename
     */
    public static String FSMXMLfilename="results\\fsm.xml";
    
    
    /**
     * Parameter file
     */
    public static String ParamXMLfilename="results\\parameters.xml";
    /**
     * Log filename
     */
    public static String LOGfilename="results\\log.xml";
    /**
     * Log level
     */
    public static Level loglevel= Level.ALL;
    /**
     * Number of states
     */
    public static int numberOfStates=5;
    /**
     * Description
     */
    public static String description="FSM";
    /**
     * Type of generation process
     */
    public static Parameter generating=Parameter.GENERATING_DEC;
    /**
     * Type of the machine
     */
    public static Parameter beingType=Parameter. MOORE_MACHINE_MAX;
    
    /**
     * Number pf generation
     */
    public static int numberOfGenerations=200;
    
    /**
     * Size of the population
     */
    public static int sizeOfPopulation=90;
    
    
    public static String fsmdtd="src/fsm.dtd";
    public static String fsmxsl="src/fsm.xsl";
    
    public static String loggerdtd="src/logger.dtd";
    public static String loggerxsl="src/logger.xsl";
    
    public static String parametersdtd="src/parameters.dtd";
    public static String parametersxsl="src/parameters.xsl";
    
    
    
   
}
